home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / SecalDemo / Inc / hardware / adkbits.inc next >
Text File  |  1998-06-24  |  929b  |  40 lines

  1. def ADKB_SETCLR = 15;
  2. def ADKB_PRECOMP1 = 14;
  3. def ADKB_PRECOMP0 = 13;
  4. def ADKB_MFMPREC = 12;
  5. def ADKB_UARTBRK = 11;
  6. def ADKB_WORDSYNC = 10;
  7. def ADKB_MSBSYNC = 9;
  8. def ADKB_FAST = 8;
  9. def ADKB_USE3PN = 7;
  10. def ADKB_USE2P3 = 6;
  11. def ADKB_USE1P2 = 5;
  12. def ADKB_USE0P1 = 4;
  13. def ADKB_USE3VN = 3;
  14. def ADKB_USE2V3 = 2;
  15. def ADKB_USE1V2 = 1;
  16. def ADKB_USE0V1 = 0;
  17.  
  18. def ADKF_SETCLR = (1<<15);
  19. def ADKF_PRECOMP1 = (1<<14);
  20. def ADKF_PRECOMP0 = (1<<13);
  21. def ADKF_MFMPREC = (1<<12);
  22. def ADKF_UARTBRK = (1<<11);
  23. def ADKF_WORDSYNC = (1<<10);
  24. def ADKF_MSBSYNC = (1<<9);
  25. def ADKF_FAST = (1<<8);
  26. def ADKF_USE3PN = (1<<7);
  27. def ADKF_USE2P3 = (1<<6);
  28. def ADKF_USE1P2 = (1<<5);
  29. def ADKF_USE0P1 = (1<<4);
  30. def ADKF_USE3VN = (1<<3);
  31. def ADKF_USE2V3 = (1<<2);
  32. def ADKF_USE1V2 = (1<<1);
  33. def ADKF_USE0V1 = (1<<0);
  34.  
  35. def ADKF_PRE000NS = 0;
  36. def ADKF_PRE140NS = (ADKF_PRECOMP0);
  37. def ADKF_PRE280NS = (ADKF_PRECOMP1);
  38. def ADKF_PRE560NS = (ADKF_PRECOMP0|ADKF_PRECOMP1);
  39.  
  40.